package usw.minimongodb.server;

import java.util.List;
import java.util.Map;

/**
 * Created by Mark on 2017/6/27.
 */
public interface MongoDbInterface {

    public void         createDataBase(String path, String tableName);
    public int          establishConnection(String path);
    public List<Map>    loadTableData(String tablename);
    public boolean      addData(String tablename, Object po);
    public boolean      updateData(String tablename, Object po);
    public boolean      deleteData(String tablename, Object po);
}
